package com.zsrd.system.domain;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor

public class SysOperLog {

  @TableId
  private long operId;
  private String title;
  private long businessType;
  private String method;
  private String requestMethod;
  private long operatorType;
  private String operName;
  private String deptName;
  private String operUrl;
  private String operIp;
  private String operLocation;
  private String operParam;
  private String jsonResult;
  private long status;
  private String errorMsg;
  private Date operTime;
  private String functionType;


  @TableField(exist = false)
  @ApiModelProperty("分页起始")
  private Integer pageNum;

  @TableField(exist = false)
  @ApiModelProperty("分页结束")
  private Integer pageSize;

  /**
   * 分页查询传入的关键字
   */
  @TableField(exist = false)
  private String key;
}
